package cn.flying.cloud.flow.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Controller;

/**
 * 标识这是一个流程审批提交转发控制器
 *
 * @author: admin
 * @date: 2025年06月21日 22:44
 * @version: 1.0
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Controller
public @interface TaskController {
    @AliasFor(
            annotation = Controller.class, attribute = "value"
    )
    String value() default "";
}
